<template>
  <div id="app">
    <router-view></router-view> <!-- 渲染当前路由的组件 -->
  </div>
</template>

<script>
export default {
  name: 'App',
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

/* 新增全局样式 */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.page-container {
  height: 100vh;
}

main {
  transition: margin-left 0.3s ease;
}
</style>